//
//  WayModelPickerView.h
//  WayService
//
//  Created by WillyZhao on 16/8/11.
//  Copyright © 2016年 Johnny. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef enum {
    WayModelPickerViewOneSection,
    WayModelPickerViewMoreSection
}WayModelPickerViewStyle;

typedef void(^CustomDatePickerBlock)(NSString *date);

@interface WayModelPickerView : UIView <UIPickerViewDelegate,UIPickerViewDataSource>
-(instancetype)initWithFrame:(CGRect)frame AndDataSource:(NSArray *)array WithStyle:(WayModelPickerViewStyle)style;
@property (nonatomic, copy) CustomDatePickerBlock block;

@property (nonatomic, assign) WayModelPickerViewStyle style;

@property(nonatomic)int year;
@property(nonatomic)int month;
@property(nonatomic)int day;
-(void)show;

@end
